<%@ page language="java" contentType="text/html; charset=UTF-8"%>
<!DOCTYPE html>
<html>
<head>
<title>角色主页</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="renderer" content="webkit">
<%@ include file="/WEB-INF/common.jsp"%>

<link href="${path }/resources/css/plugins/bootstrap-table/bootstrap-table.min.css" rel="stylesheet">
<link href="${path }/resources/css/animate.css" rel="stylesheet">
<link href="${path }/resources/css/style.css?v=4.1.0" rel="stylesheet">

<!--dataTables css样式-->
<link rel="stylesheet" type="text/css"
	href="${path }/resources/css/jquery.dataTables.min.css">
<!--DataTables button扩展-->
<link rel="stylesheet" type="text/css"
	href="${path }/resources/css/buttons.dataTables.min.css">
<link rel="stylesheet" type="text/css"
	href="${path }/resources/css/form.css">
</head>
<style type="text/css" rel="stylesheet">
        #province {
            width:150px;
            margin-left:20px;
            display:inline-block;
        }
        #city{
            width:150px;
            margin-left:20px;
            display:inline-block;
        }
        #district{
            width:150px;
            margin-left:20px;
            display:inline-block;
        } 
</style>
<body class="gray-bg" style="">
<jsp:include page="/WEB-INF/loginCheck.jsp" />
	<div>
		<h1 style="margin-left:20px">添加维保企业</h1>
	</div>
	<!--添加的表单  -->
	<div id="" barclass="panel-body" style="margin-top: 30px">
		<form action="${path }/Enterprise/addEnterprise.htm" method="post" data-parsley-validate
										class="form-horizontal form-label-left"  enctype="multipart/form-data" >
			<div class="form-group">
				<label class="control-label col-md-3 col-sm-3 col-xs-12"
					for="last-name">维保企业<span class="required">*</span>
				</label>
				<div class="col-md-6 col-sm-6 col-xs-12">
					<input  value="" name="name" required="required" class="form-control col-md-7 col-xs-12" required="required"
					onkeyup="value=value.replace(/[^\u4E00-\u9FA5]/g,'')">
				</div>
			</div>
			<div class="form-group">
				<label class="control-label col-md-3 col-sm-3 col-xs-12"
					for="first-name">维保企业身份<span class="required">*</span>
				</label>
				<div class="col-md-6 col-sm-6 col-xs-12">
					<select id="identify" class="selectpicker form-control" data-live-search="true" name="identify" required="required">
						<option value="城市合伙人">城市合伙人</option>
						<option value="维保企业">维保企业</option>
					</select>
				</div>
			</div>
			<div class="form-group">
				<label class="control-label col-md-3 col-sm-3 col-xs-12"
					for="last-name">企业地址<span class="required">*</span>
				</label>
				<div class="col-md-6 col-sm-6 col-xs-12">
					<div id="distpicker5">
						<div class="form-group" id="province">
							<label class="sr-only" for="province">Province</label> <select
								class="form-control" id="province" name="province" ></select>
						</div>
						<div class="form-group" id="city">
							<label class="sr-only" for="city">City</label> <select
								class="form-control" id="city" name="city" ></select>
						</div>
						<div class="form-group" id="district">
							<label class="sr-only" for="district">District</label> <select
								class="form-control" id="district" name="area" ></select>
						</div>
					</div>
				</div>
			</div>
			<div class="form-group">
				<label class="control-label col-md-3 col-sm-3 col-xs-12"
					for="last-name">详细地址<span class="required">*</span>
				</label>
				<div class="col-md-6 col-sm-6 col-xs-12">
					<input  value="" name="address" required="required" class="form-control col-md-7 col-xs-12">
				</div>
			</div>
			<div class="form-group">
				<label class="control-label col-md-3 col-sm-3 col-xs-12"
					for="last-name">资质<span class="required">*</span>
				</label>
				<div class="col-md-6 col-sm-6 col-xs-12">
					<select id="" class="selectpicker form-control" data-live-search="true" name="qualification">
						<option value="其他">其他</option>
						<option value="消防设施维护保养检测：三级">消防设施维护保养检测：三级</option>
						<option value="消防设施维护保养检测：二级">消防设施维护保养检测：二级</option>
						<option value="防设施维护保养检测：一级">消防设施维护保养检测：一级</option>
					</select>
				</div>
			</div>
			<div class="form-group">
				<label class="control-label col-md-3 col-sm-3 col-xs-12"
					for="last-name">法人姓名<span class="required">*</span>
				</label>
				<div class="col-md-6 col-sm-6 col-xs-12">
					<input  value="" name="legalName" required="required" class="form-control col-md-7 col-xs-12"
					onkeyup="value=value.replace(/[^\u4E00-\u9FA5]/g,'')">
				</div>
			</div>
			<div class="form-group">
				<label class="control-label col-md-3 col-sm-3 col-xs-12"
					for="last-name">法人联系电话<span class="required">*</span>
				</label>
				<div class="col-md-6 col-sm-6 col-xs-12">
					<input  type="tel"  value="" name="legalPhone" required="required" class="form-control col-md-7 col-xs-12"  maxlength="11"
					onkeyup="this.value=this.value.replace(/[^-\d、/\s]/g, '')">
				</div>
			</div>
			<div class="form-group">
				<label class="control-label col-md-3 col-sm-3 col-xs-12"
					for="last-name">技术负责人<span class="required">*</span>
				</label>
				<div class="col-md-6 col-sm-6 col-xs-12">
					<input value="" name="technicalDirector" required="required" class="form-control col-md-7 col-xs-12"
					onkeyup="value=value.replace(/[^\u4E00-\u9FA5]/g,'')">
				</div>
			</div>
			<div class="form-group">
				<label class="control-label col-md-3 col-sm-3 col-xs-12"
					for="last-name">技术负责人联系电话<span class="required">*</span>
				</label>
				<div class="col-md-6 col-sm-6 col-xs-12">
					<input  type="tel" value="" name="technicalPhone" required="required" class="form-control col-md-7 col-xs-12" maxlength="11"
					onkeyup="this.value=this.value.replace(/[^-\d、/\s]/g, '')">
				</div>
			</div>
			<div class="form-group">
				<label class="control-label col-md-3 col-sm-3 col-xs-12"
					for="last-name">服务电话<span class="required">*</span>
				</label>
				<div class="col-md-6 col-sm-6 col-xs-12">
					<input  type="tel"  value="" name="sevicePhone" required="required" class="form-control col-md-7 col-xs-12" maxlength="11"
					onkeyup="this.value=this.value.replace(/[^-\d、/\s]/g, '')">
				</div>
			</div>
			<div class="form-group">
				<label class="control-label col-md-3 col-sm-3 col-xs-12"
					for="last-name">企业人数<span class="required">*</span>
				</label>
				<div class="col-md-6 col-sm-6 col-xs-12">
					<input  type="number"  value="" name="employeNumber" required="required" class="form-control col-md-7 col-xs-12">
				</div>
			</div>
			<!-- 上传图片 -->
			<div class="form-group">
				<label for="middle-name"
					class="control-label col-md-3 col-sm-3 col-xs-12">资质证书图片</label>
				<div class="col-md-6 col-sm-6 col-xs-12">
					 <input type="file" name="file" accept="image/gif,image/jpeg,image/jpg,image/png" value="${content.certificatePicture}">
							<span></span>
				</div>
			</div>
			<div class="form-group">
				<div class="col-md-6 col-sm-6 col-xs-12 col-md-offset-3" >
					<button type="submit" class="btn btn-success">提交</button>
					<a href="${path }/Enterprise/index.htm" class="btn btn-primary" style="margin-left:550px;">返回</a>
				</div>
			</div>
		</form>

	</div>
 
 
	<!-- Peity-->
	<script src="${path }/resources/js/plugins/peity/jquery.peity.min.js"></script>
	
	<!-- Bootstrap table-->
	<script src="${path }/resources/js/plugins/bootstrap-table/bootstrap-table.min.js"></script>
	<script src="${path }/resources/js/plugins/bootstrap-table/locale/bootstrap-table-zh-CN.min.js"></script>

	<!-- 自定义js-->
	<script src="${path }/resources/js/content.js?v=1.0.0"></script>
	
	<!-- jQuery Validation plugin javascript-->
    <script src="${path }/resources/js/plugins/validate/jquery.validate.min.js"></script>
    <script src="${path }/resources/js/plugins/validate/messages_zh.min.js"></script>
   
   	<!-- jQuery form  -->
    <script src="${path }/resources/js/jquery.form.min.js"></script>
    
    <!-- layer javascript -->
    <script src="${path }/resources/js/plugins/layer/layer.min.js"></script>
    <!-- 省市联动 -->
	<script src="${path }/resources/js/distpicker.data.js"></script>
	<script src="${path }/resources/js/distpicker.js"></script>
	<script src="${path }/resources/js/main.js"></script>
    
    
	<script type="text/javascript">

	</script>

</body>
</html>